package com.dmooo.yxmmerchant.view.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;

public class PassWordContract {
    public interface PassWordView extends BaseView {
        void sendCodeSuccess();
        void setDrawPwdSuccess();
        void drawMoneySuccess();
        void noSetDrawPwd();
        void drawPwdCorrect();
    }
    public interface PassWordMdl{
        void getPhoneCode(String token, HttpOnNextListener listener);
        void setDrawPwd(String token, String code, String pwd1, String pwd2, HttpOnNextListener listener);
        void userDrawMoney(String token, String account_type, String account, String money, String truename, HttpOnNextListener listener);
        void isSetDrawPwd(String token, HttpOnNextListener listener);
        void checkDrawPwdCorrect(String token, String pwd, HttpOnNextListener listener);
    }
    public interface PassWordPtr{
        void getPhoneCode(String token);
        void setDrawPwd(String token, String code, String pwd1, String pwd2);
        void userDrawMoney(String token, String account_type, String account, String money, String truename);
        void isSetDrawPwd(String token);
        void checkDrawPwdCorrect(String token, String pwd);
    }
}
